<%-- 
    Document   : dshoithuc
    Created on : Jan 25, 2012, 4:43:13 PM
    Author     : Venus
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="java.util.*,Beans.ThamSoHT,Models.ThamSoHT_Model, Models.DauBep_Model, Models.MonAn_Model, Models.DonViTinh_Model, Models.TuyChon_Model"%>

<%
    int langid = (Integer) session.getAttribute("langid"); // ngôn ngữ hiện tại
    String dsts = " 'assign', 'notice', 'rightmsg' ";
    ThamSoHT[] mdsts = ThamSoHT_Model.DSThamSo(dsts, langid); // mảng chứa các tham số của trang này.
    String assign = mdsts[0].getTenTS();
    String notice = mdsts[1].getTenTS();
    String rightmsg = mdsts[2].getTenTS();
    String msgright = notice + "/" + rightmsg;
    Vector vDSHoiThuc = (Vector) request.getAttribute("DSHoiThuc");
    int totalht = 0;
    for(int i=0; i<vDSHoiThuc.size(); i++){
        Beans.DauBep bb = (Beans.DauBep) vDSHoiThuc.elementAt(i);
        totalht = totalht + 1;%>
        <div style="width: 20px;" class="mahoithuc"><input type="checkbox" onclick="CheckboxCookHT()" class="<%=bb.getMaCTHDT()%>" name="chkcookht" value="<%=bb.getMaMA()%>" alt="<%=bb.getSoLuong()%>" id="<%=bb.getMaDVT()%>" lang="<%=bb.getGhiChu()%>"></div>
        <div class="mahoithuc"><%=bb.getTenMA() %></div>
        <div onclick="BoQuaHoiThuc(this.align, this.lang)" align="<%=bb.getMaCTHDT()%>" lang="<%=msgright%>" style=" margin-right: 0px; height: 20px; width: 30px; float: left; cursor: pointer; border-top: 1px solid #959494;"><img style=" height: 20px; width: 20px; margin-top: 7px;" alt="" src="../images/del1.png"></div>
        <div class="cb"></div>
<%  }%>
<input type="hidden" id="totalht" value="<%=totalht %>">
<a onclick="PhanCongHT()" class="phancong" style=" color: #fff;"><%=assign%></a>

